Optimal. Leaf size=91 \[ \frac {x^2 (d-e x)}{e^2 \sqrt {d^2-e^2 x^2}}+\frac {(4 d-3 e x) \sqrt {d^2-e^2 x^2}}{2 e^4}+\frac {3 d^2 \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {864, 833, 794,
223, 209} \begin {gather*} \frac {3 d^2 \text {ArcTan}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^4}+\frac {x^2 (d-e x)}{e^2 \sqrt {d^2-e^2 x^2}}+\frac {(4 d-3 e x) \sqrt {d^2-e^2 x^2}}{2 e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 223
Rule 794
Rule 833
Rule 864
Rubi steps
\begin {align*} \int \frac {x^3}{(d+e x) \sqrt {d^2-e^2 x^2}} \, dx &=\int \frac {x^3 (d-e x)}{\left (d^2-e^2 x^2\right )^{3/2}} \, dx\\ &=\frac {x^2 (d-e x)}{e^2 \sqrt {d^2-e^2 x^2}}-\frac {\int \frac {x \left (2 d^3-3 d^2 e x\right )}{\sqrt {d^2-e^2 x^2}} \, dx}{d^2 e^2}\\ &=\frac {x^2 (d-e x)}{e^2 \sqrt {d^2-e^2 x^2}}+\frac {(4 d-3 e x) \sqrt {d^2-e^2 x^2}}{2 e^4}+\frac {\left (3 d^2\right ) \int \frac {1}{\sqrt {d^2-e^2 x^2}} \, dx}{2 e^3}\\ &=\frac {x^2 (d-e x)}{e^2 \sqrt {d^2-e^2 x^2}}+\frac {(4 d-3 e x) \sqrt {d^2-e^2 x^2}}{2 e^4}+\frac {\left (3 d^2\right ) \text {Subst}\left (\int \frac {1}{1+e^2 x^2} \, dx,x,\frac {x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^3}\\ &=\frac {x^2 (d-e x)}{e^2 \sqrt {d^2-e^2 x^2}}+\frac {(4 d-3 e x) \sqrt {d^2-e^2 x^2}}{2 e^4}+\frac {3 d^2 \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 95, normalized size = 1.04 \begin {gather*} \frac {\frac {e \sqrt {d^2-e^2 x^2} \left (4 d^2+d e x-e^2 x^2\right )}{d+e x}+3 d^2 \sqrt {-e^2} \log \left (-\sqrt {-e^2} x+\sqrt {d^2-e^2 x^2}\right )}{2 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 159, normalized size = 1.75
method | result | size |
risch | \(\frac {\left (-e x +2 d \right ) \sqrt {-e^{2} x^{2}+d^{2}}}{2 e^{4}}+\frac {3 d^{2} \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{2 e^{3} \sqrt {e^{2}}}+\frac {d^{2} \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}{e^{5} \left (x +\frac {d}{e}\right )}\) | \(108\) |
default | \(\frac {-\frac {x \sqrt {-e^{2} x^{2}+d^{2}}}{2 e^{2}}+\frac {d^{2} \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{2 e^{2} \sqrt {e^{2}}}}{e}+\frac {d \sqrt {-e^{2} x^{2}+d^{2}}}{e^{4}}+\frac {d^{2} \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{e^{3} \sqrt {e^{2}}}+\frac {d^{2} \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}{e^{5} \left (x +\frac {d}{e}\right )}\) | \(159\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 79, normalized size = 0.87 \begin {gather*} \frac {3}{2} \, d^{2} \arcsin \left (\frac {x e}{d}\right ) e^{\left (-4\right )} - \frac {1}{2} \, \sqrt {-x^{2} e^{2} + d^{2}} x e^{\left (-3\right )} + \sqrt {-x^{2} e^{2} + d^{2}} d e^{\left (-4\right )} + \frac {\sqrt {-x^{2} e^{2} + d^{2}} d^{2}}{x e^{5} + d e^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.24, size = 98, normalized size = 1.08 \begin {gather*} \frac {4 \, d^{2} x e + 4 \, d^{3} - 6 \, {\left (d^{2} x e + d^{3}\right )} \arctan \left (-\frac {{\left (d - \sqrt {-x^{2} e^{2} + d^{2}}\right )} e^{\left (-1\right )}}{x}\right ) - {\left (x^{2} e^{2} - d x e - 4 \, d^{2}\right )} \sqrt {-x^{2} e^{2} + d^{2}}}{2 \, {\left (x e^{5} + d e^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3}}{\sqrt {- \left (- d + e x\right ) \left (d + e x\right )} \left (d + e x\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.05, size = 81, normalized size = 0.89 \begin {gather*} \frac {3}{2} \, d^{2} \arcsin \left (\frac {x e}{d}\right ) e^{\left (-4\right )} \mathrm {sgn}\left (d\right ) - \frac {2 \, d^{2} e^{\left (-4\right )}}{\frac {{\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )} e^{\left (-2\right )}}{x} + 1} - \frac {1}{2} \, \sqrt {-x^{2} e^{2} + d^{2}} {\left (x e^{\left (-3\right )} - 2 \, d e^{\left (-4\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3}{\sqrt {d^2-e^2\,x^2}\,\left (d+e\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________